<?php
session_start();
unset($_SESSION['uname']);
unset($_SESSION['uid']);
unset($_SESSION['usertype']);
?>

<div id="login" onclick="headerMenu(this)">
                  <p>LOGG INN</p>
                  <img src="images/pilned.png" alt="Pil" />
              </div>
              <div id="loginform" style="display:none;">
                    <form onsubmit="return false;">
                      <label for="brukernavn">Brukernavn</label> <br />
                      <input id="uname" name="uname" type="text" class="loginInput" placeholder="brukernavn" /><br />
                      <label for="passord">Passord</label>    <br />
                      <input id="pwd "name="pwd" type="password" class="loginInput" placeholder="passord" /><br />
                      <button class="loginbtn" onclick="loggInn(this.form)">Logg inn!</button>
                    </form>
                    <div id="loginmsg"></div>
              </div>
              <div id="register">
                  <a href="javascript: newUser();" >REGISTRER DEG!</a>
              </div>